<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-left">  
							<div>
						    	<button type="button" th:onclick="|qiYong(this,'${albumId}',0)|" th:disabled="${qiYongType=='0'}?'true':'false'" th:class="${qiYongType=='0'}?'btn btn-primary btn-disabled':'btn btn-primary btn-normal'" >启用企业轮播图</button>
						    	<button type="button" th:onclick="|qiYong(this,'${albumId}',1)|" th:disabled="${qiYongType=='1'}?'true':'false'"  th:class="${qiYongType=='1'}?'btn btn-disabled':'btn btn-normal'">启用用户轮播图</button>
<!-- 						  		<button type="button" th:onclick="|editLoops('${conf?.id}')|" class="layui-btn layui-btn-warn" >轮播图数量:&nbsp;&nbsp;<span style="color:blank" th:text="${conf?.loops}"></span></button>  -->
					
						  	</div>  
						</div>
						
						<div class="columns pull-right col-md-2 nopadding"></div>
					</div>
						 
					 
				  		   
					<table id="exampleTable" data-mobile-responsive="true"></table>
				</div>
			</div>
		</div>
	</div>
	<!--shiro控制bootstraptable行内按钮看见性 -->
		<div>
			<script type="text/javascript">
			    var s_add_h = 'hidden';
				var s_edit_h = 'hidden';
				var s_remove_h = 'hidden'; 
			</script>
		</div>
		<div shiro:hasPermission="album:info:edit">
			<script type="text/javascript">
				s_edit_h = '';
			</script>
		</div>
		<div shiro:hasPermission="album:info:add">
			<script type="text/javascript">
				s_add_h = '';
			</script>
		</div>
		<div shiro:hasPermission="album:info:remove">
			<script type="text/javascript">
				var s_remove_h = '';
			</script>
		</div> 
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/lucky/album/info/loop.js"></script>
</body>
</html>